<?php
/* @var $this GiftPasswordController */
/* @var $model GiftPassword */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'gift-password-form',
	'enableAjaxValidation'=>false,
)); 

?>


	<p class="note"><?php echo Yii::t('base','Fields with <span class="required">*</span> are required.');?></p>

	<?php echo $form->errorSummary($model); ?>
	
	<div class="row">
		<?php echo $form->labelEx($model,'service_number'); ?>
		<?php echo $form->TextField($model,'service_number',array('size'=>50,'maxlength'=>50,'value'=>$pass)); ?>
		<?php echo $form->error($model,'service_number'); ?>
	</div>
	
	<div class="row">
		<?php //echo $form->labelEx($model,'moblie'); ?>
		<?php //echo $form->TextField($model,'moblie',array('size'=>50,'maxlength'=>50,'value'=>$pass)); ?>
		<?php //echo $form->error($model,'moblie'); ?>
	</div>
	
	<div class="row">
		<?php //echo $form->labelEx($model,'address'); ?>
		<?php //echo $form->TextField($model,'address',array('size'=>50,'maxlength'=>50)); ?>
		<?php //echo $form->error($model,'address'); ?>
	</div>
	
	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? Yii::t('base','To accept the award') : Yii::t('base','Save')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->